<?php

use Illuminate\Database\Seeder;

use App\Models\User;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $firstUser = new User();
        $firstUser->name = 'admin';
        $firstUser->email = 'admin@keerle.com';
        $firstUser->password = bcrypt('Hunt899');
        $firstUser->avatar = 'https://avatars0.githubusercontent.com/u/9129428?v=3&s=460';
        $firstUser->remember_token = str_random(10);
        $firstUser->save();
    }
}
